//存放页面所有接口
import service from "../index";

export const getUserInfo = (params) => {
    return service({
        method:'post',
        url:"/api/website/queryMenuWebsite",
        params,
    })
}

export const login = (data) => {
    return service({
        method:'post',
        url:'/api/user/login',
        data,
        headers:{
            'Content-type':'application/x-www-form-urlencoded'
        }
    })
}